/* 商品卡片样式 */
.product-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  
  &:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  :deep(.ant-card-cover) {
    img {
      height: 240px;
      object-fit: cover;
      border-radius: 8px 8px 0 0;
    }
  }

  :deep(.ant-card-body) {
    padding: 16px;
  }

  :deep(.ant-card-meta) {
    margin-bottom: 12px;

    .ant-card-meta-title {
      font-size: 14px;
      color: #333;
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .ant-card-meta-description {
      font-size: 13px;
      color: #666;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }
}

/* 价格和操作区域样式 */
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;

  .price-container {
    display: flex;
    align-items: baseline;
    gap: 8px;

    .current-price {
      font-size: 16px;
      font-weight: 500;
      color: #000;
    }

    .old-price {
      font-size: 13px;
      color: #999;
      text-decoration: line-through;
    }
  }

  .action-buttons {
    display: flex;
    gap: 8px;

    .ant-btn {
      width: 32px;
      height: 32px;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}

/* 筛选器和排序区域样式 */
.filters-section {
  margin-bottom: 24px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

  .ant-space {
    width: 100%;
  }
}

/* 分页器样式 */
.pagination-container {
  margin-top: 24px;
  display: flex;
  justify-content: center;
} 